package cn.iocoder.an.module.business.controller.admin.equipmnetkeepwait.vo;

import lombok.*;

import java.time.LocalDate;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.an.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.an.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY;
import static cn.iocoder.an.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 待保养设备分页 Request VO")
@Data
public class EquipmnetKeepWaitPageReqVO extends PageParam {

    @Schema(description = "保养单号")
    private String keepNo;

    @Schema(description = "设备编码")
    private String code;

    @Schema(description = "保养项id", example = "20811")
    private Long itemId;

    @Schema(description = "设备id", example = "21186")
    private Long equipmentId;

    @Schema(description = "保养状态", example = "2")
    private Integer status;

    @Schema(description = "责任人名称", example = "张三")
    private String dutyUserName;

    @Schema(description = "设备名称", example = "张三")
    private String equipmentName;

    //存ID 查询我参与的保养
    private List<Long> ids = new ArrayList<>();

    @Schema(description = "排除的状态", example = "张三")
    private Integer excludeStatus;

    private List<Long> idList = new ArrayList<>();

    /**
     * 安装位置
     */
    private String installPosition;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate[] planDate;


}